package com.zhump.springcloud.feign.server.controller;


import com.zhump.springcloud.feign.server.feign.FeignServerClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/feign")
public class FeigServerController {

    @Autowired
    private FeignServerClient feignServerClient;


    @RequestMapping("/client")
    public String server(){
        return feignServerClient.server();
    }
}
